

CNs

[State 4000, Superpause]
type = SuperPause
trigger1 = AnimElem = 2 
time = 40
anim = -1
sound = S1, 21
darken = 0
p2defmul = 1


[State 4000, BGfx]
type = BGPalfx
trigger1 = AnimElem = 2 
ignorehitpause = 1
time = 40
invertall = 1

----------------------------



; Di_A
;[Statedef 1050]
type    = S
movetype= I
poweradd= 140
anim = 1050
ctrl = 0

;[State 1050, 1]
type = VelSet
trigger1 = Time = 0
x = 0
y = 0
z = 0

[State 1050, 8]
type = ChangeState
trigger1 = Time = 5
value = 1051

; Di_D
[Statedef 1051]
type    = A
movetype= A
physics = A
juggle  = 2
anim = 1051

[State 1051, 0]
type = PlaySnd
trigger1 = time = 0
value = 3, 2

[State 1051, 1]
type = VelSet
trigger1 = Time = 0
x = 0
y = 0
z = 0

[State 1051, 1]
type = VelSet
trigger1 = Time = 0
x = 6
y = -5

[State 1051, 2]
type = VelAdd
trigger1 = Time >= 0
y = .2

[State 1051, 5]
type = HitDef
trigger1 = AnimElem = 1
attr = A, NA
damage    = 45,3
getpower  = 50,10
givepower = 25,5
guardflag = HA
priority = 3
pausetime = 8,10
;sparkno = 1
sparkxy = -10,-46
hitsound   = 5,3
guardsound = 6,0
ground.type = High
ground.slidetime = 10
ground.hittime  = 9
ground.velocity = -4   
air.velocity = -4
p1stateno = 1054

[State 1051, 10]
trigger1 = Vel Y > 0
trigger1 = Pos Y >= -5
type = ChangeState
value = 1052


; Di_ۦa
[Statedef 1052]
type    = S
movetype= I
juggle  = 2
anim = 1052
ctrl = 0

[State 1052, 0]
type = PosSet
trigger1 = Time = 0
y = 0

[State 1052, 1]
type = VelSet
trigger1 = Time = 0
x = 0
y = 0

[State 1052, 1]
type = PlaySnd
trigger1 = time = 0
value = 30, 2

[State 1052, 10]
trigger1 = Time = 12
type = ChangeState
value = 0
ctrl = 1

;G׽
[Statedef 1054]
type    = A
movetype= A
physics = A
juggle  = 2
anim = 1054

[State 1054, 0]
type = VelSet
trigger1 = Time = 0
y = 0

[State 1054, 3]
type = HitDef
trigger1 = AnimElem = 2
attr = A, NA
damage    = 50,5
getpower  = 50
givepower = 25
guardflag = HA
priority = 3
pausetime = 10,12
sparkno = 1
sparkxy = 0,-40
hitsound   = 5,3
guardsound = 6,0
ground.type = High
ground.slidetime = 9
ground.hittime  = 9
ground.velocity = -4   
air.velocity = -2,-3

[State 1054, 10]
trigger1 = Vel Y > 0
trigger1 = Pos Y >= -5
type = ChangeState
value = 1052





[State 4000, Spark 1]
type = Explod
trigger1 = AnimElem = 2 
anim = 8040
postype = p1
pos = -43, -34
ontop = 1
bindtime = 1
ignorehitpause = 1
ownpal = 1
supermove = 1


[State 4000, Spark 2]
type = Explod
trigger1 = AnimElem = 2 
anim = 8045
postype = p1
pos = -43, -34
ontop = 1
bindtime = 1
ignorehitpause = 1
ownpal = 1
supermove = 1


[State 4000, shadow]
type = AfterImage
trigger1 = AnimElem = 3
palbright = -16,-16,-16
palcontrast = 204,256,256
palpostbright = -32,-32,-32
paladd = 0,0,0
palmul = 1.0,1.0,1.0
length = 14
framegap = 6
Trans = Add1
time = 86


[State 4000,ʹߵ ]
type = PlaySnd
trigger1 = AnimElem = 2
value = 0,27



[State 4000,PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 3
value = 7, 9
;channel = 0


[State 4000,PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 8
value = 7, 10
channel = 0


[State 4000,PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 13
value = 7, 11
channel = 0



[State 4000,PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 5
trigger2 = AnimElem = 8
trigger3 = AnimElem = 13
value = 10, 3
channel = 1


[State 4000,Proj1]
type = Projectile
attr = S, SP
getpower = 100
givepower = 20
trigger1 = AnimElem = 5
projanim = 1010
projID = 1000
projhitanim = -1
projremanim = -1
projcancelanim = -1
projremovetime = -1
projremove = 1
projedgebound = 65
projpriority = 1
projshadow = -1
sparkno = S8030
guard.sparkno = S8036
sparkxy = 35, 0
offset = 60,-74
velocity = 4.5, 0
damage    = 85, 10
animtype = Hard
ground.type = High
guardflag = MA
hitflag = MAFP
pausetime = 0,12
hitsound   = s5,2
guardsound = s6,0
ground.slidetime = 14
ground.hittime  = 20
ground.velocity = -5.2
air.velocity = -4.8,-3.1
air.juggle = 5
air.fall = 1
envshake.time = 8
envshake.ampl = 2



[State 4000,Proj1]
type = Projectile
attr = S, SP
getpower = 100
givepower = 20
trigger1 = AnimElem = 8
projanim = 1050
projID = 1010
projhitanim = -1
projremanim = -1
projcancelanim = -1
projremovetime = -1
projremove = 1
projedgebound = 65
projpriority = 1
projshadow = -1
sparkno = S8030
guard.sparkno = S8036
sparkxy = 35, 15
offset = 60,-74
velocity = 4.5, 0
damage    = 85, 10
animtype = Hard
ground.type = High
guardflag = MA
hitflag = MAFP
pausetime = 0,12
hitsound   = s5,2
guardsound = s6,0
ground.slidetime = 14
ground.hittime  = 20
ground.velocity = -5.2
air.velocity = -4.8,-3.1
air.juggle = 5
air.fall = 1
envshake.time = 8
envshake.ampl = 2




[State 4000,Proj1]
type = Projectile
attr = S, SP
getpower = 100
givepower = 20
trigger1 = AnimElem = 13
projanim = 1060
projID = 1020
projhitanim = -1
projremanim = -1
projcancelanim = -1
projremovetime = -1
projremove = 1
projedgebound = 65
projpriority = 1
projshadow = -1
sparkno = S8030
guard.sparkno = S8036
sparkxy = 35, 32
offset = 60,-74
velocity = 5.0, 0
damage    = 85, 10
animtype = up
ground.type = High
guardflag = MA
hitflag = MAFP
pausetime = 0,12
hitsound   = s5,2
guardsound = s6,0
ground.slidetime = 14
ground.hittime  = 20
ground.velocity = -5.2,-5.6
air.velocity = -4.8,-3.1
air.juggle = 5
air.fall = 1
envshake.time = 8
envshake.ampl = 2
fall= 1


;
[State 4000,envcolor]
type = Envcolor
trigger1 = projhit = 1
ignorehitpause = 1
value = 255, 255, 255
time = 1
under = 1
supermove = 1


[State 4000,Helper]
type = Helper
trigger1 = AnimElem = 5
helpertype = normal
name = "kacho"
ID = 1000
pos = 60,-74
postype = P1
stateno = 1010
keyctrl = 0
ownpal = 1
size.ground.back = 0
size.ground.front = 0
size.air.back = 0
size.air.front = 0
size.height = 0


[State 4000,Helper]
type = Helper
trigger1 = AnimElem = 8
helpertype = normal
name = "kacho2"
ID = 1010
pos = 60,-74
postype = P1
stateno = 1011
keyctrl = 0
ownpal = 1
size.ground.back = 0
size.ground.front = 0
size.air.back = 0
size.air.front = 0
size.height = 0



[State 4000,Helper]
type = Helper
trigger1 = AnimElem = 13
helpertype = normal
name = "kacho3"
ID = 1020
pos = 60,-74
postype = P1
stateno = 1012
keyctrl = 0
ownpal = 1
size.ground.back = 0
size.ground.front = 0
size.air.back = 0
size.air.front = 0
size.height = 0

[State 1000,End]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


cmd


;------------------------------------------------------------------------
;  
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 4200
triggerall = Command = "cho_z"&& power >= 3000
trigger1 = statetype != A && ctrl
trigger2 = StateNo = 1000 && (AnimElemTime(5) >= 0 && AnimElemTime(7) < 0)|| StateNo = 1050 && (AnimElemTime(5) >= 0 && AnimElemTime(7) < 0)
trigger3 = StateNo = 1200 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)|| StateNo = 1250 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)
trigger4 = StateNo = 1700 && (AnimElemTime(4) >= 0 && AnimElemTime(13) < 0)|| StateNo = 1750 && (AnimElemTime(4) >= 0 && AnimElemTime(13) < 0)
trigger5 = StateNo = 3005 || StateNo = 3505 || StateNo = 3705
trigger5 = time >= 0 
trigger6 = StateNo = 4000 && (AnimElemTime(5) >= 0 && AnimElemTime(15) < 0)|| StateNo = 4100 && (AnimElemTime(5) >= 0 && AnimElemTime(15) < 0)|| StateNo = 4200 && (AnimElemTime(5) >= 0 && AnimElemTime(15) < 0)
trigger7 = StateNo = 1300 && AnimElemTime(1) >= 0|| StateNo = 1350 && AnimElemTime(1) >= 0
trigger8 = StateNo = 210 && AnimElemTime(1) >= 0|| StateNo = 410 && AnimElemTime(1) >= 0
trigger9 = stateno = 1800 && AnimElemTime(1) >= 0||stateno = 1850 && AnimElemTime(1) >= 10
trigger9 = movecontact = 1

;------------------------------------------------------------------------
;   
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 4100
triggerall = Command = "cho_y"&& power >= 2000
trigger1 = statetype != A && ctrl
trigger2 = StateNo = 1000 && (AnimElemTime(5) >= 0 && AnimElemTime(7) < 0)|| StateNo = 1050 && (AnimElemTime(5) >= 0 && AnimElemTime(7) < 0)
trigger3 = StateNo = 1200 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)|| StateNo = 1250 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)
trigger4 = StateNo = 1700 && (AnimElemTime(4) >= 0 && AnimElemTime(13) < 0)|| StateNo = 1750 && (AnimElemTime(4) >= 0 && AnimElemTime(13) < 0)
trigger5 = StateNo = 3005 || StateNo = 3505 || StateNo = 3705
trigger5 = time >= 0 
trigger6 = StateNo = 4000 && (AnimElemTime(5) >= 0 && AnimElemTime(15) < 0)|| StateNo = 4100 && (AnimElemTime(5) >= 0 && AnimElemTime(15) < 0)|| StateNo = 4200 && (AnimElemTime(5) >= 0 && AnimElemTime(15) < 0)
trigger7 = StateNo = 1300 && AnimElemTime(1) >= 0|| StateNo = 1350 && AnimElemTime(1) >= 0
trigger8 = StateNo = 210 && AnimElemTime(1) >= 0|| StateNo = 410 && AnimElemTime(1) >= 0
trigger9 = stateno = 1800 && AnimElemTime(1) >= 0||stateno = 1850 && AnimElemTime(1) >= 10
trigger9 = movecontact = 1

;------------------------------------------------------------------------
;  
[State -1, Light Kung Fu Palm]
type = ChangeState
value = 4000
triggerall = Command = "cho_x"&& power >= 1000
trigger1 = statetype != A && ctrl
trigger2 = StateNo = 1000 && (AnimElemTime(5) >= 0 && AnimElemTime(7) < 0)|| StateNo = 1050 && (AnimElemTime(5) >= 0 && AnimElemTime(7) < 0)
trigger3 = StateNo = 1200 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)|| StateNo = 1250 && (AnimElemTime(2) >= 0 && AnimElemTime(6) < 0)
trigger4 = StateNo = 1700 && (AnimElemTime(4) >= 0 && AnimElemTime(13) < 0)|| StateNo = 1750 && (AnimElemTime(4) >= 0 && AnimElemTime(13) < 0)
trigger5 = StateNo = 3005 || StateNo = 3505 || StateNo = 3705
trigger5 = time >= 0 
trigger6 = StateNo = 4000 && (AnimElemTime(5) >= 0 && AnimElemTime(15) < 0)|| StateNo = 4100 && (AnimElemTime(5) >= 0 && AnimElemTime(15) < 0)|| StateNo = 4200 && (AnimElemTime(5) >= 0 && AnimElemTime(15) < 0)
trigger7 = StateNo = 1300 && AnimElemTime(1) >= 0|| StateNo = 1350 && AnimElemTime(1) >= 0
trigger8 = StateNo = 210 && AnimElemTime(1) >= 0|| StateNo = 410 && AnimElemTime(1) >= 0
trigger9 = stateno = 1800 && AnimElemTime(1) >= 0||stateno = 1850 && AnimElemTime(1) >= 10
trigger9 = movecontact = 1

[Command]
name = "cho_x"
command = ~D, F, D, F, x
time = 25


[Command]
name = "cho_y"
command = ~D, F, D, F, y
time = 25


[Command]
name = "cho_z"
command = ~D, F, D, F, x+y
time = 25


[Command]
name = "cho_z"
command = ~D, F, D, F, c
time = 25




